{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "### 环境初始化"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "from _common import 环境初始化\n",
    "环境初始化()\n",
    "from IPython.display import SVG as 查看作品\n",
    "from 神笔码靓.神笔库.神笔绘图板 import 神笔绘图板\n",
    "from 神笔码靓.神笔库.定义集 import *\n",
    "from 神笔码靓.神笔库.配置 import *\n",
    "from 神笔码靓.神笔库.通用工具集 import *\n",
    "from 神笔码靓.神笔库.定义集 import *"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "### 生成红格作文纸高清图"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "from 码靓库.学习.作文纸打印模板 import 作文纸打印模板\n",
    "\n",
    "作文纸文件路径 = 作品输出目录(\"作文纸打印模板_红格\")\n",
    "\n",
    "作文纸模板 = 作文纸打印模板(作文纸文件路径=作文纸文件路径, 方格颜色=\"#FF1919\")\n",
    "作文纸模板.完成()\n",
    "\n",
    "查看作品(作文纸文件路径)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "### 生成绿格作文纸高清图"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "作文纸文件路径 = 作品输出目录(\"作文纸打印模板_绿格\")\n",
    "作文纸模板 = 作文纸打印模板(作文纸文件路径=作文纸文件路径, 方格颜色=\"#4B8059\")\n",
    "作文纸模板.完成()\n",
    "查看作品(作文纸文件路径)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "### 生成绿格作文纸高清图"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "作文纸文件路径 = 作品输出目录(\"作文纸打印模板_黑格.svg\")\n",
    "作文纸 = 作文纸打印模板(作文纸文件路径=作文纸文件路径, 方格颜色=\"#000000\")\n",
    "作文纸模板.完成()\n",
    "查看作品(作文纸文件路径)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}